package com.itheima.pojo.client;

/**
 * @author ChenJunJie
 * @date 2022/6/21 10:44
 * 通过菜品id与userid修改商品份数(减一操作)入参
 */
public class UpdateShoppingCartByDishIdDto {
    /**
     * 菜品id
     */
    private String dishId;
    /**
     * 套餐id
     */
    private String setmealId;
    /**
     * userid
     */
    private String userId;

    public UpdateShoppingCartByDishIdDto() {
    }

    public UpdateShoppingCartByDishIdDto(String dishId, String setmealId, String userId) {
        this.dishId = dishId;
        this.setmealId = setmealId;
        this.userId = userId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getDishId() {
        return dishId;
    }

    public void setDishId(String dishId) {
        this.dishId = dishId;
    }

    public String getSetmealId() {
        return setmealId;
    }

    public void setSetmealId(String setmealId) {
        this.setmealId = setmealId;
    }

    @Override
    public String toString() {
        return "UpdateShoppingCartByDishIdDto{" +
                "dishId='" + dishId + '\'' +
                ", setmealId='" + setmealId + '\'' +
                '}';
    }
}
